Get Session content on cshtml

162

Get Session content on cshtml -

@using Microsoft.AspNetCore.Http
@{
	var x = Context.Session.GetString("Some Key");
}

Comments

Submit
0 Comments